From: Jasper St. Pierre Date: Thu, 11 Sep 2014 23:50:56 +0000 (-0600) Subject: search: Fix timeout ordering X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2140 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=08ece4c186eb8e02b769abec40908b5309e77379;p=gnome-shell.git search: Fix timeout ordering --- diff --git a/js/ui/search.js b/js/ui/search.js index 7998a9bc4..5798a4e91 100644 --- a/js/ui/search.js +++ b/js/ui/search.js @@ -482,8 +482,8 @@ const SearchResults = new Lang.Class({ if (!terms) { if (this._searchTimeoutId > 0) { - this._searchTimeoutId = 0; GLib.source_remove(this._searchTimeoutId); + this._searchTimeoutId = 0; } return; }